.search-bar {
    margin: 0 auto;
    min-width: 181px;
    max-width: 500px;
}

.search-bar.is-focus {
    box-shadow: 0 0 30px rgb(0 0 0 / 10%);
    border-radius: 8px;
}

.searchform {
    border-radius: 8px;
    display: flex;
    align-items: center;
    padding: 0 48px 0 4px;
    position: relative;
    z-index: 1;
    overflow: hidden;
    line-height: 38px;
    border: 1px solid var(--line_regular);
    height: 40px;
    background-color: var(--graph_bg_regular);
    opacity: .9;
    transition: background-color .3s;
}

.searchform:hover {
    background-color: #fff;
}

.searchform.is-focus {
    border-radius: 8px 8px 0px 0px;
    border-bottom: none;
    background: var(--bg1);
    opacity: 1;
}

.searchform .search-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: var(--graph_bg_regular);
    position: relative;
    padding: 0 8px;
    width: 100%;
    height: 32px;
    border: 2px solid transparent;
    border-radius: 6px;
}

.search-content .search-input {
    flex: 1;
    overflow: hidden;
    padding-right: 8px;
    border: none;
    background-color: transparent;
    box-shadow: none;
    color: var(--text2);
    font-size: 14px;
    line-height: 20px;
}

.search-clean {
    width: 16px;
    height: 16px;
    right: 10px;
    cursor: pointer;
}

.search-clean svg {
    position: absolute;
    color: var(--graph_weak);
}

.search-btn {
    position: absolute;
    /* top: 0; */
    right: -42px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 6px;
    color: var(--text1);
    line-height: 32px;
    cursor: pointer;
    transition: background-color .3s;
}

.search-btn svg {
    overflow: hidden;
    vertical-align: middle;
}